﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site2.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Thay đổi mật khẩu
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <% Html.EnableClientValidation(); %> 
    <% using(Html.BeginForm("ChangePassword", "User")){%>
        <div class="dung-section frm-insert">
		    <div class="dung-section-title">Thay đổi mật khẩu</div>
		    <div class="dung-section-content">
                <%= Html.ValidationSummary() %>
                <%--<div class="validation-summary-errors">
                    <ul>
                        <li><%= ViewData["ErrorPasswordOld"] %></li>
                        <li><%= ViewData["ErrorPasswordNew1"] %></li>
                        <li><%= ViewData["ErrorPasswordNew2"] %></li>
                        <li><%= ViewData["ErrorPasswordRe"] %></li>
                    </ul>
                </div>--%>
                <div class="frm-control">
				    <div class="dung-right">
					    <input type="submit" name="submit" class="dung-button" value="Lưu" />
                        <%= Html.ActionLink("Bỏ qua", "Index", "Home", null,new {@class="dung-button" })%>
				    </div>
				    <div class="clearer">&nbsp;</div>
			    </div>
                <div>
                    <p>
                        <label><b>Mật khẩu cũ</b></label>
                        <br/>
                        <input id="passwordOld" name="passwordOld" type="password" class="dung-textbox" size="30" />
                    </p>
                    <p>
                        <label><b>Mật khẩu mới</b></label>
                        <br/>
                        <input id="passwordNew" name="passwordNew" type="password" class="dung-textbox" size="30" />
                    </p>
                    <p>
                        <label><b>Nhập lại mật khẩu mới</b></label>
                        <br/>
                        <input id="rePasswordNew" name="rePasswordNew" type="password" class="dung-textbox" size="30" />
                    </p>
                    <p class="success">
                        <b><%= ViewData["Success"] %></b>
                    </p>
                </div>
            </div>
        </div>
    <%} %>
</asp:Content>
